package main

import (
	"fmt"
	"github.com/golang/protobuf/proto"
	"github.com/liuxinbo1984/iprotoc/hello"
)

func main() {

	req := hello.HelloRequest{Name: "arvin"}
	marshal, err := proto.Marshal(&req)
	if err != nil {
		return
	}

	fmt.Println(string(marshal))

}
